package com.jymj.service;

import com.jymj.entity.PjProjEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by dl on 2017/7/17.
 */
public interface PjProjService {

    /**
     * @param projId
     * @return
     */
    PjProjEntity queryObject(Integer projId);

    /**
     * 查询用户列表
     */
    List<PjProjEntity> queryList(Map<String, Object> map);

    /**
     * 查询总数
     */
    int queryTotal(Map<String, Object> map);

    /**
     * 保存菜单
     */
    void save(PjProjEntity proj);

    /**
     * 修改
     */
    void update(PjProjEntity proj);

    /**
     * 删除
     */
    void deleteBatch(Integer[] projIds);

    /**
     * 获取权限列表
     */
    List<PjProjEntity> queryList(long userId);

    List<PjProjEntity> queryTotalPro();

    Map<String, Object> queryMapCenter(String xzqName);

    List<PjProjEntity> projSummary(Long userId);

    void delete(Integer id);

}
